fix(deps): update dependency inquirer to v12 #103
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.0.0->^12.0.0^9.3.7->^12.0.0Release Notes
SBoudrias/Inquirer.js (inquirer)
v12.10.0Compare Source
theme.style.keysHelpTip.theme.keybindingsv12.9.6Compare Source
v12.9.5Compare Source
v12.9.4Compare Source
v12.9.3Compare Source
yesnot properly being processed by the confirm prompt. (yes | node confirm-script.js)v12.9.2Compare Source
@types/nodean optional peer dependency.v12.9.1Compare Source
external-editordependency with new@inquirer/external-editor. This remove the vulnerabletmptransitive dependency from the dependency tree.v12.9.0Compare Source
instructionsconfig to allow localizing the help tips.v12.8.2Compare Source
indexMode: numbertheme option didn't properly calculate the items indexes if separators where present in between choices.v12.8.1Compare Source
run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #1791v12.8.0Compare Source
v12.7.0Compare Source
-
inputprompt: Newprefilloption to control if thedefaultvalue is editable inline or only after pressingtab.v12.6.3Compare Source
select,checkboxandsearchprompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.v12.6.2Compare Source
v12.6.1Compare Source
npm. This removes non-standard version specifiers likeworkspace:*from the public npm packages.v12.6.0Compare Source
instructionsoption allowing to customize the messages in the help tips.@inquirer/selectprompt. Also added aloopoption to control the list loop behaviour when reaching the boundaries.v12.5.2Compare Source
v12.5.1Compare Source
v12.5.0Compare Source
select): Introducetheme.indexModeto control displaying an index prefix in front of each choice. (defaults to hidden)select): Improve search when number keys are pressedv12.4.3Compare Source
--frozen-intrinsicsflag.v12.4.2Compare Source
v12.4.1Compare Source
@types/nodeas an optional peer dependency across all packages.v12.4.0Compare Source
shortcutconfig to thecheckboxprompt. Allows to customize or disable shortcut keys for select all and invert selection.v12.3.3Compare Source
strip-ansiin favour of Node built-instripVTControlCharactersutil.v12.3.2Compare Source
v12.3.1Compare Source
v12.3.0Compare Source
defaultto be provided listing pre-checked checkboxes. This is a legacy interface brought back given this feature removal was an involuntary breaking change during thev12release. The preferred interface is to provide thecheckedproperty to choices{ value: 'bar', checked: true }.v12.2.0Compare Source
v12.1.0Compare Source
v12.0.1Compare Source
v12.0.0Compare Source
@types/nodeis now only apeerDependencies. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does runnpm install --dev @​types/node/yarn add --dev @​types/node.v11.1.0Compare Source
import type { Question, DistinctQuestion, Answers } from 'inquirer';You should use as follow to keep the inference working properly:
v11.0.2Compare Source
whenbehaviour changed unexpectedly when returning a falsy value.v11.0.1Compare Source
v11.0.0Compare Source
No technical breaking changes; but we changed the style of the question
prefixonce the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same?as when the prompt is idle.)This is theme-able, and so can be overwritten to with
theme.prefix.v10.2.2Compare Source
filteroption not working.signal: AbortSignaldidn't work with class based prompts (OSS plugins.) Now it should work consistently with legacy style prompts.v10.2.1Compare Source
expandprompt being broken if a Separator was in thechoicesarray.v10.2.0Compare Source
v10.1.8Compare Source
v10.1.7Compare Source
v10.1.6Compare Source
v10.1.5Compare Source
v10.1.4Compare Source
v10.1.3Compare Source
v10.1.2Compare Source
Choiceobjects withoutvalueshould default to usenameas the value. Note: Please don't rely on this weird behaviour, but we fixed it since it was an unintended breaking change.v10.1.1Compare Source
v10.1.0Compare Source
{ type: 'search' }prompt.v10.0.4Compare Source
v10.0.3Compare Source
shorton select and checkbox prompt.closemethod on prompt class instances (it wasn't required.)v10.0.2Compare Source
v10.0.1Compare Source
v10.0.0Compare Source
inquireris publishes a dual-build CJS/ESM.)@inquirer/prompt.@inquirer/core. Custom prompts built on[email protected]will keep working, but should plan a migration.inquirer.ui.BottomBaris deleted.My expectation is that this release should be a drop-in replacement for people using
inquirer.prompt()and built-ins 🤞🏻. Please open an issue on Github if you run into issues migrating; it's a large rewrite and there might be a few sharp edges to cut! Hope you'll like this new release.v9.3.8Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.